import { map, deviceLayer } from "./supermap.js";
import { createMarker } from './marker.js'
import { markerIcon, qiangjiIcon } from './icon.js'
import { initControlButtons } from './controlButtons.js'

initControlButtons(map);

let rotatedMarker = createMarker(117.18087366, 31.81880456, {
    id: 2,
    title: '测试旋转marker',
    name: '测试旋转marker',
    icon: qiangjiIcon,
    direction: 6
});

deviceLayer.addLayer(rotatedMarker);
